//-----------------------------------------------------------------------
// <copyright file="CustomerProductBase.cs" company="Pyramid Consulting">
//     Copyright (c) Pyramid Consulting. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace MIMS.WRS.Entities
{
	[Serializable]
	public class CustomerProductBase
	{
		
		#region Variable Declarations
		private int				userID = 0;
		private string				productCode = string.Empty;
		private int				reservedQty = 0;
		private DateTime				reservedDate = new DateTime(1900,1,1,0,0,0,0);
		private int				numberOfDay = 0;
		#endregion
		
		#region Constructors
		public CustomerProductBase() {}
		
		public CustomerProductBase (
			int userID,
			string productCode,
			int reservedQty,
			DateTime reservedDate,
			int numberOfDay)
		
		{
			this.userID = userID;
			this.productCode = productCode;
			this.reservedQty = reservedQty;
			this.reservedDate = reservedDate;
			this.numberOfDay = numberOfDay;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int UserID
		{
			get { return userID; }
			set { userID = value; }
		}
		public int originalUserID
		{
			get { return originalUserID; }
			set { originalUserID = value; }
		} 
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string ProductCode
		{
			get { return productCode; }
			set { productCode = value; }
		}
		public string originalProductCode
		{
			get { return originalProductCode; }
			set { originalProductCode = value; }
		} 
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int ReservedQty
		{
			get { return reservedQty; }
			set { reservedQty = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime ReservedDate
		{
			get { return reservedDate; }
			set { reservedDate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int NumberOfDay
		{
			get { return numberOfDay; }
			set { numberOfDay = value; }
		}
	
		
		#endregion
	}//End Class
	
	public enum CustomerProductColumns
	{
		UserID,
		ProductCode,
		ReservedQty,
		ReservedDate,
		NumberOfDay
	}//End enum
}